package com.ruoyi.shbData.domain.pad;


import com.ruoyi.common.core.pad.BasePadToServerDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "平板提交水泵测试任务参数对象")
@Data
@NoArgsConstructor
public class ShbPadToServerDTO extends BasePadToServerDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "需要提交的测试任务数据集合")
    @NotEmpty(message = "数据集合不能为空")
    private List<ShbTaskReqDTO> data = new ArrayList<>();

}
